package com.xth8013.as.domain;

/**
 * 
 * @Description: 系统菜单
 * @author: tianhua.xie
 * @Date: 2017年4月3日 下午8:57:43
 *
 */
public class Menu extends ValueObject {
	
	/**
	 * 菜单id：每两位为一级菜单，除一级菜单外，其余不足两位前面补0
	 * 
	 * 如 101,10111，210202
	 */
	private Long menuId;// 菜单id
	private String menuName;// 菜单名称
	private String menuHref;// 菜单链接
	private String menuTarget;// 菜单位置
	private Long parentId;// 父菜单
	private Integer grade;// '菜单等级
	private Integer isLeaf;// 是否是叶子菜单
	private Integer isShow;// 是否在展示



	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getMenuHref() {
		return menuHref;
	}

	public void setMenuHref(String menuHref) {
		this.menuHref = menuHref;
	}

	public String getMenuTarget() {
		return menuTarget;
	}

	public void setMenuTarget(String menuTarget) {
		this.menuTarget = menuTarget;
	}

	public Integer getGrade() {
		return grade;
	}
	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public Integer getIsLeaf() {
		return isLeaf;
	}

	public Integer getIsShow() {
		return isShow;
	}

	public void setIsLeaf(Integer isLeaf) {
		this.isLeaf = isLeaf;
	}

	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}

	public Long getMenuId() {
		return menuId;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	@Override
	public String toString() {
		return "Menu [menuId=" + menuId + ", menuName=" + menuName + ", menuHref=" + menuHref + ", menuTarget="
				+ menuTarget + ", parentId=" + parentId + ", grade=" + grade + ", isLeaf=" + isLeaf + ", isShow="
				+ isShow + "]";
	}


}